﻿using System.ComponentModel;
using System.Collections.Generic;
using ProxyViewModel.Commands;
namespace AutoViewModel.Tests {
	public class ViewModelMock : INotifyPropertyChanged {
		#region INotifyPropertyChanged Members

		public event PropertyChangedEventHandler PropertyChanged;

		#endregion

		public virtual string MyProperty1 {
			get;
			set;
		}

		public virtual string MyProperty2 {
			get;
			set;
		}

		public virtual List<int> IntsCollection {
			get;
			set;
		}

		public void RaisePropertyChanged(string propertyChanged) {
			if (PropertyChanged != null) {
				PropertyChanged(this, new PropertyChangedEventArgs(propertyChanged));
			}
		}
	}
}
